//
//  LOLViewController.m
//  LOL_Little_Box
//
//  Created by dllo on 16/3/23.
//  Copyright © 2016年 dllo. All rights reserved.
//

#import "LOLViewController.h"

@interface LOLViewController ()

@end

@implementation LOLViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    /**设置导航栏不是半透明 */
    self.navigationController.navigationBar.translucent = NO;
    /**所有的nav的背景图都是一种，所以需要写在基类里面 */
//    [[UINavigationBar appearance] setBackgroundImage:[UIImage imageNamed:@"nav_bar_bg_for_six"] forBarMetrics:UIBarMetricsDefault];
    /**设置导航栏背景图片的方法 */
    self.navigationController.navigationBar.barTintColor = [UIColor clearColor];
    [self.navigationController.navigationBar setBackgroundImage:[UIImage imageNamed:@"nav_bar_bg_for_six"] forBarMetrics:UIBarMetricsDefault];
    // Do any additional setup after loading the view.
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
